﻿#pragma once

#include <QDialog>
#include "ui_KItemUI.h"
#include "MarketDataBase.h"

class KItemUI : public QDialog
{
	Q_OBJECT

public:
	static KItemUI *Instance(QWidget *parent = Q_NULLPTR);

	void SetValue(const MData::KLineItem &pItem);

private:
	KItemUI(QWidget *parent = Q_NULLPTR);
	~KItemUI();

	static KItemUI *_instance;

	Ui::KItemUI ui;
};
